package com.yzt.zhuju.network.entity.gift;

import android.text.TextUtils;

import com.yzt.zhuju.network.base.BaseBean;

import java.util.List;

/**
 * author : bob
 * date   : 2022/11/30
 * desc   :
 */
public class SelfSendGiftInfo extends BaseBean {
    private int type;
    private String userName;
    private int giftNum;
    private int giftId;
    private int typeId;
    private String unit;
    private String giftName;
    private String giftIcon;
    private List<String> list;
    private int tabId;
    private int wareHouseId;
    private int comboTime;
    private int worth;     //价值
    private String path;//礼物地址；
    private int pathType;//1：svga;2：gift：3：webp动画
    private int isWareHouse;//是否是背包礼物0-不是 1-是
    private int count;

    // 空投礼物赠送 刷新Id
    private String expired;

    public String getExpired() {
        return expired;
    }

    public void setExpired(String expired) {
        this.expired = expired;
    }


    private int ktId;

    public int getKtId() {
        return ktId;
    }

    public void setKtId(int ktId) {
        this.ktId = ktId;
    }

    public int getWareHouseId() {
        return wareHouseId;
    }

    public void setWareHouseId(int wareHouseId) {
        this.wareHouseId = wareHouseId;
    }

    public SelfSendGiftInfo() {

    }

    public String getUnit() {
        if(unit==null|| TextUtils.isEmpty(unit)){
            return "个";
        }
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getTabId() {
        return tabId;
    }

    public void setTabId(int tabId) {
        this.tabId = tabId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public int getGiftId() {
        return giftId;
    }

    public void setGiftId(int giftId) {
        this.giftId = giftId;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public String getGiftIcon() {
        return giftIcon;
    }

    public void setGiftIcon(String giftIcon) {
        this.giftIcon = giftIcon;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public int getComboTime() {
        return comboTime;
    }

    public void setComboTime(int comboTime) {
        this.comboTime = comboTime;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getWorth() {
        return worth;
    }

    public void setWorth(int worth) {
        this.worth = worth;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getPathType() {
        return pathType;
    }

    public void setPathType(int pathType) {
        this.pathType = pathType;
    }

    public int getIsWareHouse() {
        return isWareHouse;
    }

    public void setIsWareHouse(int isWareHouse) {
        this.isWareHouse = isWareHouse;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "SelfSendGiftInfo{" +
                "type=" + type +
                ", userName='" + userName + '\'' +
                ", giftNum=" + giftNum +
                ", giftId=" + giftId +
                ", typeId=" + typeId +
                ", unit='" + unit + '\'' +
                ", giftName='" + giftName + '\'' +
                ", giftIcon='" + giftIcon + '\'' +
                ", list=" + list +
                ", tabId=" + tabId +
                ", wareHouseId=" + wareHouseId +
                ", comboTime=" + comboTime +
                ", worth=" + worth +
                ", path='" + path + '\'' +
                ", pathType=" + pathType +
                ", isWareHouse=" + isWareHouse +
                ", count=" + count +
                ", expired='" + expired + '\'' +
                ", ktId=" + ktId +
                '}';
    }

}
